package com.quanyan.ic.datacenter.mapper.icData;

import com.quanyan.ic.datacenter.http.req.ReqEventAlarms;
import com.quanyan.ic.datacenter.http.resp.RespCategoryAlarms;
import com.quanyan.ic.datacenter.http.resp.RespEventAlarms;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017/8/24.
 */
public interface EventAlarmMapper {


    /**
     * 查询视屏异常
     * @param reqEventAlarms
     * @return
     */
    List<RespEventAlarms>  findEventAlarms(@Param("m") ReqEventAlarms reqEventAlarms);

    /**
     * 查询场馆各个运动类型 异常数量
     * @param reqEventAlarms
     * @return
     */
    List<RespCategoryAlarms> findPlaceCategory(@Param("m") ReqEventAlarms reqEventAlarms );
}
